package com.topsec.erp.service;

import com.topsec.erp.entity.AdminUser;

import java.util.List;

/**
 * author: zsl
 * date: 2019/11/22 11:13
 * Description:
 */
public interface AdminUserService {

    List<AdminUser> queryAll();

    AdminUser findById(long id);

    void save(AdminUser user);

    void delete(long id);

    void update(AdminUser user);

    AdminUser login(String userName, String password);
}
